﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using IronBrokers.ClientManager.Model;

namespace IronBrokers.ClientManager.Database
{
    public interface IPersistenceManager
    {
        void UpdateStockValue(StockData updateData);
        void RegisterUser(String userName, String passwordSH1);
        void UnregisterUser(String userName);
        void SetUserPriviledges(String userName, List<String> priviledges);
        List<Model.User> GetUserList();

        Ticket Subscribe(String userName, String password);
        Ticket Unsubscribe(Guid ticketID);
    }
}
